# Maintainer: Antonio Rojas <arojas@archlinux.org>

pkgname=maui-clip
_pkgname=clip
pkgver=3.0.1
pkgrel=1
pkgdesc='Video player and video collection manager'
url='https://mauikit.org/'
arch=(loong64 x86_64)
license=(GPL3)
depends=(mauikit-filebrowsing taglib ffmpeg)
makedepends=(extra-cmake-modules)
groups=(maui)
source=(https://download.kde.org/stable/maui/$_pkgname/$pkgver/$_pkgname-$pkgver.tar.xz)
sha256sums=('fd467d05c4f6edc18f4445ac56299e679014694a10ded50faf86498aaab292a9')

build() {
  cmake -B build -S $_pkgname-$pkgver
  cmake --build build
}

package() {
  DESTDIR="$pkgdir" cmake --install build
}
